home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
F1 Licenseware
/
F1 Licenseware - Volume 1.iso
/
disks
/
087.dms
/
087.adf
/
TTTools
/
CS-Info
< prev
next >
Wrap
Text File
|
1992-02-26
|
5KB
|
116 lines
Colour Swap V1.1 Information.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Date Today: 15/3/95.
John White
23 Kellett Road
Brixton
London
SW2 1DX
England
Welcome to Colour Swap V1.1 (CS). As you may or may not know CS V1.0 simply
allowed you to load a Picture, of 8 colours for example, double its colours
to 16 and then let you swap the first 8 colours over to the second 8 colours.
This was good for making copies, with different palette numbers, of an Anti-
Aliased Fonts picture for example. However, when I wrote it I knew in the
future it would need better colour manipulation, hence, this update.
This update, besides the code being re-written, allows you to Assign any
AVAILABLE picture colour to any AVAILABLE Palette number.
So, for example, suppose you have a 16 colour picture but only 8 colours are
used. You know what colours are used but they are muddled up instead of in
order (example colours used: 1, 3, 5, 8, 12, 13, 15, 16). You can't be
bothered to unscramble the palette in an art package so you decide to use
colour swap!...
...in the above example you could simply make palette numbers 0 to 7 the
colours you need (with Red, Green and Blue) and then Assign the scrambled
picture colours to your 0 to 7 palette numbers, like so... 1 = 0 3 = 1
5 = 2 8 = 3 12 = 4 13 = 5 15 = 6 16 = 7. This would not only put your
scrambled picture colours in order, but also give you an 8 coloured picture,
thus, cutting out the unwanted colours and saving you memory, etc in the long
run.
The above example would save your picture as a 32 coloured picture because it
doubled your 16 colours to 32. So you would simply need to load the picture
into an art package/amos, etc and change the picture format to 8 colours if
you didn't need the use of the other colours. The doubled colours are saved
with each picture because as said above CS V1.0 (and this version) is meant
as a duplicator aswell. Saying that however I'll probly put a function into
the program, in the future, that lets you save the original picture and/or
the doubled picture.
This program is Public Domain. Saying that, if you have any interesting Amos
snippets, etc I wouldn't mind you writing to me - Don't see this as a must
though.
----------------
The Program...
----------------
Width: The width of Picture area to Colour Swap.
Height: The height of Picture area to Colour Swap.
Load: Load a Picture. This grabs an area of 320x200 from your picture.
So make sure your drawing or whatever isn't past these boundaries.
Save: This saves your picture with Doubled colours.
Palette: This allows you to edit the palette and assign picture colours to
palette numbers.
Ok: This means Ok - Colour Swap my picture. Pressing Mouse Key 2 will
stop the Ok function.
----------
Notes...
----------
This version is Lowres only. I will probly make a Hires version in the future
but for now it remains at Lowres for 2 reasons. 1) I wrote this program for
myself to convert Lowres Anti-Aliased Fonts pictures and 2) I've never seen
any Hires Anti-Aliased Fonts pictures, have you?!
The program will check for picture size. If your picture is less than 320x200
then you will get an on-screen message. The program also checks the number of
colours in your picture. The allowed number of colours are: 2, 4, 8, 16 and
32.
When you have a 32 coloured picture, doubled to 64 colours, the colours 32 to
63 cannot be change of course because they are HalfBrite colours. However,
they can have a palette number assigned to them.
If you click inside the filename box you will restore the current picture to
its original form together with the original palette.
CS V1.0 users will notice the absence of the Transparent function. To get a
picture colour transparent (using colour 0) simply assign your picture colour
to palette number 0.
The doubled colours will be Black to start off with. Why? I could of made the
doubled colours the same as the first colours but I thought this might not be
to everyones liking. So I decided to make them black so you could choose what
colour to make them.
---------------
Tip/Effect...
---------------
A good way to make Anti-Aliased Fonts a different colour, but keep their
original beauty is to simply get each colour and reverse it, like so...
Example: 12 3 8 reverse to 8 3 12
10 10 13 reverse to 13 10 10
...and so on.
This doesn't always look great - Just experiment. Blue usually turns into a
nice Brown if I remember correctly.